package cn.kgc.dto;

import java.io.Serializable;

import lombok.*;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import io.swagger.annotations.ApiModel;
import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

import com.baomidou.mybatisplus.annotation.Version;
import com.fasterxml.jackson.annotation.JsonIgnore;

/**
 * (PmsAttr)表实体类
 *
 * @author makejava
 * @since 2022-11-30 09:34:49
 */
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel
@SuppressWarnings("serial")
public class PmsAttrAddDTO implements Serializable {


    @ApiModelProperty(name = "attrId", value = "属性id", dataType = "java.lang.Long")
    private Long attrId;    //属性id

    @ApiModelProperty(name = "attrName", value = "属性名", dataType = "java.lang.String")
    private String attrName;    //属性名

    @ApiModelProperty(name = "searchType", value = "是否需要检索[0-不需要，1-需要]", dataType = "java.lang.Short")
    private Short searchType;    //是否需要检索[0-不需要，1-需要]

    @ApiModelProperty(name = "valueSelect", value = "可选值列表[用逗号分隔]", dataType = "java.lang.String")
    private String valueSelect;    //可选值列表[用逗号分隔]

    @ApiModelProperty(name = "attrType", value = "属性类型[0-销售属性，1-基本属性，2-既是销售属性又是基本属性]", dataType = "java.lang.Short")
    private Short attrType;    //属性类型[0-销售属性，1-基本属性，2-既是销售属性又是基本属性]

    @ApiModelProperty(name = "enable", value = "启用状态[0 - 禁用，1 - 启用]", dataType = "java.lang.Long")
    private Long enable;    //启用状态[0 - 禁用，1 - 启用]

    @ApiModelProperty(name = "catelogId", value = "所属分类", dataType = "java.lang.Long")
    private Long catelogId;    //所属分类

    @ApiModelProperty(name = "showDesc", value = "快速展示【是否展示在介绍上；0-否 1-是】，在sku中仍然可以调整", dataType = "java.lang.Short")
    private Short showDesc;    //快速展示【是否展示在介绍上；0-否 1-是】，在sku中仍然可以调整


    /**
     * 属性对应的属性组的ID
     */
    @ApiModelProperty(name = "attrGroupIds", value = "属性对应的属性组的集合", dataType = "java.util.List")
    private List<Long>attrGroupIds=new ArrayList<>();

}
